home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4181 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: recursion@aol.com (Recursion)
  3. Newsgroups: comp.lang.c++
  4. Subject: Need answer to easy question quick (Borland C++3.1WIN)
  5. Date: 28 Jan 1996 13:42:58 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4egg3i$ph7@newsbf02.news.aol.com>
  9. Reply-To: recursion@aol.com (Recursion)
  10. NNTP-Posting-Host: newsbf02.mail.aol.com
  11.  
  12. I am a PASCAL programmer converting to C++ so I am still learning the
  13. semantics.  In PASCAL if I wanted to send output to the printer I would
  14. use:
  15.       writeln(LST,"Hello printer")
  16.  
  17. In C++3.1 how do I send output to the printer. When I use cout it goes to
  18. a new window when I run my program but the window is inactive so I have no
  19. way of printing the output of my program.  I hear that 4.5 has an option
  20. to print the incative window but 3.1 does not as far as I can tell. 
  21.       cout << "Hello printer";
  22. is there a command I can add to the cout statement so that output is sent
  23. directly to the printer?
  24.  
  25. Please e-mail me with posssible solutions. Recursion@aol.com
  26. I would greatly appreciate it. Thanks
  27.